internal/runtime/cgroup.lineReader.n (field)
12 uses
internal/runtime/cgroup (current package)
line_reader.go#L43: n int // bytes of scratch in use.
line_reader.go#L65: n: 0,
line_reader.go#L92: firstCall := r.n == 0
line_reader.go#L97: copy(r.scratch, r.scratch[r.newline+1:r.n])
line_reader.go#L98: r.n -= r.newline + 1
line_reader.go#L100: r.newline = bytealg.IndexByte(r.scratch[:r.n], '\n')
line_reader.go#L113: r.n = 0
line_reader.go#L116: n, errno := r.read(r.fd, r.scratch[r.n:len(r.scratch)])
line_reader.go#L120: r.n += n
line_reader.go#L122: if r.n == 0 {
line_reader.go#L131: r.newline = bytealg.IndexByte(r.scratch[:r.n], '\n')
line_reader.go#L175: return r.scratch[:r.n]
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |